package com.ucar.training.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author XiongMM
 * @date 2019/8/5 14:14
 * @description
 */
public class DateUtils {

    public static String getStrFormDate(Date date){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sdf.format(date);
    }
}
